
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html >
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<%@ include  file="/common/taglibs.jsp"%>
<%@ include  file="/common/meta.jsp"%>
<title>婴儿秀</title>
<link rel="archives" title="婴儿秀"	href="#" />

 <style type="text/css">
      body {
        padding-top: 60px;
        padding-bottom: 40px;
      }
      
    </style>
</head>
<body>
<%@include file="/common/header.jsp" %>
  	
  	<!-- 内容-->
<div class="container">  
  		 	
  		 	<div class="row show-grid">  		 
	  		 	<div class="span12">
	  		 			<p>流行标签:</p>  		 			
	  		 		  <ul class="nav pull-left">  		 		 
		              <li class='tag'>小清新</li>
		              <li class='tag'>重口味</li>
		            </ul>   
	  		 	</div>    
	    	</div>
	    	 
      <!-- Main hero unit for a primary marketing message or call to action -->
      <div class="hero-unit">
        <h1>每周一星</h1>
        <img src="${ctx}/resource/images/home/template/wlc_pic.jpg"/>
    	<p> <a class="btn btn-primary btn-large">了解更多 &raquo;</a></p>
        
      </div>
      
		
	<c:forEach items="${catalogMap}" var="cataEntry">
      <!-- Example row of columns -->
      		 			
     <div class="row">
      <h3>大家分享的:<span class='btn btn-info'>${cataEntry.key.name}</span></h3>
       <c:forEach items="${cataEntry.value}" var="secCatalog" >  
        <div class="span4">        
          <p>${secCatalog.name}</p>          
          		<c:forEach items="${secCatalog.showPhotos}" var="photo" varStatus="indexNum">
          		   <c:if test="${indexNum.index%2==0}">
          		   <div class='row-fluid'>          			
          			</c:if>          			 
          			<div class='span6'>	
          		<img src="${ctx}/${photo.imageURL}" class="img-polaroid img-box" />
          		</div>
          		   <c:if test="${indexNum.index%2==1}">
          		   	</div>          			
          			</c:if>  
          		</c:forEach>    
          		</div>
       
    </c:forEach>
      </div>	
	</c:forEach>
      <hr>

<%@include  file="/common/footer.jsp" %>
</div> <!-- /container -->
  		
  	
  </body>
  
  
</html>